<template>
  <div>{{ getUser }}</div>
  <button @click="changeState3">点击</button>
</template>
<script setup lang="ts">
import { testStore } from './store'
import { storeToRefs, StateTree } from 'pinia'
import service from './service'

const { name, getUser } = service.getStore()
const { changeState3 } = service
</script>
